-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add CaloTowerTopology cfi to HGCal geom configs #3229
Conversation
A new Pull Request was created by @kpedro88 (Kevin Pedro) for CMSSW_6_2_X_SLHC. add CaloTowerTopology cfi to HGCal geom configs It involves the following packages: Configuration/Geometry @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please review it and eventually sign? Thanks. |
I tried this after your suggestion, and now get
Couldn't find an obvious fix. Any ideas? Happy to merge this though once I've double checked something, since it gets things one step closer. |
merge HGCal scenarios still fail in step 2 with the previously mentioned error, but it's a step closer. |
add CaloTowerTopology cfi to HGCal geom configs
I also get that error. I didn't know if that was the error with which the HGCal tests failed before my pull request 3187, but I guess it wasn't. The HGCal geometries appear to deliberately exclude the EE geometry (which would make sense). It looks like the EcalTrigPrimProducer configuration already has a setting BarrelOnly to handle this case. I added this configuration line to the end of the step2_DIGI_L1_DIGI2RAW.py config file produced by runTheMatrix:
With this, I get a different error:
That configuration line should be included for the HGCal customizations, but I don't know where it ought to go. For this next error, there is probably some way to disable digitization for the preshower, but I'm not sure how. |
@kpedro88 the error we used to get was
Presumably that is fixed by one of your pull requests (or we could hit it again later down the line). This error is similar to the one for SHCal:
That one appears to be a hard-coded check that EE is present. I considered going in and taking it out but that's a lot of tinkering in something I don't understand. |
One of my pull requests may have impacted EZMgrFL (if it gets used in relation to the CaloTowerGeometry), but I'm not sure. It may pop up again later. I don't know where the BarrelOnly line should go in the HGCal customizations. Maybe one of the HGCal people can tell us. We probably need to get some ECAL-familiar developers to figure out how to get away with removing the preshower in the geometry configs. |
@mark-grimes and @kpedro88 - BarrelOnly is defined in Reco part of geometry configuration. There are separate fragments added instead of one including everything: You have to be sure that it's not overwritten by other includes you've added. |
@ianna simEcalTriggerPrimitiveDigis is not defined until much later, so I think it will have to go in the customisation. Adding "simEcalTriggerPrimitiveDigis.BarrelOnly = cms.bool(True)" to the end of GeometryExtended2023HGCalReco_cff.py just gives
HGCal uses combinedCustoms.cust_2023 as does Extended2023 (SHCal does too but presumably that requires the same line added). Should I make a copy of cust_2023 to say cust_2023NoEE and add the line in there, then switch HGCal and SHCal to use that? |
@mark-grimes - cust_2023NoEE seems clear enough. I remember, there was also a different plugin for when there is no ES. I'm not sure it is already in customization. |
This fixes the CaloTowerTopology-related error in the HGCal tests as noted in pull request 3187.